﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace SqlSugarAndEntity
{
    ///<summary>
    ///课程和平台关联表
    ///</summary>
    [SugarTable("course_r_product")]
    public partial class course_r_product
    {
           public course_r_product(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:产品ID
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? ProductId {get;set;}

           /// <summary>
           /// Desc:课程ID
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? CourseId {get;set;}

           /// <summary>
           /// Desc:修改时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? EditDateTime {get;set;}

           /// <summary>
           /// Desc:0:正常  -1:删除
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? Status {get;set;}

    }
}
